package com.zzz.product.service;

/*
 * @author zzr
 * @date: 2025/10/15  17:17
 * @description:
 */

import com.zzz.model.ProductInfo;
import com.zzz.product.mapper.ProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductService {

    @Autowired
    private ProductMapper productMapper;
    public ProductInfo selectProductById(Integer productId) {
        ProductInfo productInfo = productMapper.selectProductById(productId);
        return productInfo;
    }
}
